/**
 * Created by zongjuan.wang on 2016/6/15.
 */

$(document).ready(function(){
    $("dt").click(function () {
       /*$("dd").css("display","block");
       $("h1").css("color","blue");
       $(".price").css({"background":"#efefef","padding":"5px"});
       $("#author").css("color","#083499");
       $(".intro,dt,dd").css("color","#ff0000");
       $("*").css("font-weight","bold");

       $(".textRight>p").css("color","red");
       $("h1~p").css("text-decoration","underline");*/


        $("dd").css("display","block");
        $(".intro,dt,dd").css("color","#ff0000");
        $("#jdPrice>span").css({"font-size":"24px","color":"#ff0000","font-weight":"bold"});
        $("#jdPrice>p").css("color","#cccccc");
        $("#jdPrice>p>span").css("text-decoration","line-through")
        $("dd span,#ticket span").css({"color":"white","background":"red","padding":"1px 5px","margin-right":"5px"});

    });
})